package com.UdpRecieve.service;

import com.UdpRecieve.domain.system.SysUser;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface SysLoginService {
    List<SysUser> selectUser(SysUser user);

    void doLogin(SysUser user, HttpServletRequest request, HttpServletResponse response) throws Exception;

    Boolean isLogin(HttpServletRequest request, HttpServletResponse response);

    void isLoginOnOtherWeb(SysUser user, HttpServletRequest request, HttpServletResponse response) throws Exception;

    void loginOut(HttpServletRequest request, HttpServletResponse response);
}
